﻿using System;

class CharArraysComparison
{
    static void Main()
    {
        char[] firstArray = { 'f', '1', 'H', 'G', 'j', ',', 'p', 'W' };
        char[] secondArray = { 'f', '1', 'H', 'G', 'j', ',', 'p', 'W' };

        bool equalArrays = true;

        if (firstArray.Length == secondArray.Length)
        {
            for (int i = 0; i < firstArray.Length; i++)
            {
                if (firstArray[i] != secondArray[i])
                {
                    equalArrays = false;
                    break;
                }
            }
        }
        else
        {
            equalArrays = false;
        }

        if (equalArrays)
        {
            Console.WriteLine("The arrays are equal!");
        }
        else
        {
            Console.WriteLine("The arrays are not equal!");
        }
    }
}
